/**
 * 
 */
package org.cuatrovientos.erp.dao;

import java.util.List;

import org.cuatrovientos.erp.model.Role;

/**
 * @author pablo_guerrero
 *
 */
public interface RoleDAOInterface {
	public Role selectById(int id);
	public List<Role> selectAll ();
	public int selectAllCount();
	public void insert (Role role);
	public void update (Role role);
	public void delete (Role role);
	public void deleteById (int id);
	public List<Role> search(String name);
	public void saveOrUpdate(Role role);
}
